package com.echat.business.book.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.echat.business.book.dao.BookMapper;
import com.echat.business.book.model.Book;
import com.echat.business.book.service.IBookService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chentl123
 * @since 2019-04-24
 */
@Service
public class BookServiceImpl extends ServiceImpl<BookMapper, Book> implements IBookService {

    @Override
    public List<Map<String, Object>> getHotCommentsList() {
        return this.baseMapper.getHotCommentsList();
    }
}
